package ${repositoryPackage};

import com.paic.pafa.biz.dao.DAOException;
import ${modelPackage}.${className};

import java.util.List;
import java.util.Map;
/**
 * ${description}
 * @author liuyonggang
 * @date 2014-11-12
 */
public interface ${className}Dao {
	
	/**
	 * ${description}分页查询
	 * @param param
	 * @return
	 */
	List<${className}> queryPage${className}(Map<String, Object> param)throws DAOException;
	/**
	 * ${description}总条数
	 * @param param
	 * @return
	 */
	int countBy${className}(Map<String, Object> param)throws DAOException;
	
	/**
	 * 保存${description}
	 * @param ${className}
	 * @throws DAOException
	 */
	void save${className}(${className} ${classname})throws DAOException;
	
	/**
	 * 删除${description}
	 * @param ${className}
	 * @throws DAOException
	 */
	void delete${className}(${className} ${classname})throws DAOException;
	
	/**
	 * 修改${description}
	 * @param ${className}
	 * @throws DAOException
	 */
	void update${className}(${className} ${classname})throws DAOException;
	
	/**
	 * 查询${description}
	 * @return
	 */
	${className} find${className}(${className} ${classname})throws DAOException;
	
	
	
}

